home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / enscript.4 / enscript / enscript-1.4.0 / src / Makefile.in < prev    next >
Encoding:
Makefile  |  1996-06-30  |  7.7 KB  |  309 lines

  1. # Makefile.in generated automatically by automake 1.0 from Makefile.am
  2.  
  3. # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
  4. # This Makefile.in is free software; the Free Software Foundation
  5. # gives unlimited permission to copy, distribute and modify it.
  6.  
  7. #
  8.  
  9. # Makefile for enscript.
  10.  
  11. # Copyright (c) 1995 Markku Rossi
  12.  
  13. #
  14.  
  15. # Author: Markku Rossi <mtr@iki.fi>
  16.  
  17. #
  18.  
  19. #
  20. # This file is part of GNU enscript.
  21. # This program is free software; you can redistribute it and/or modify
  22. # it under the terms of the GNU General Public License as published by
  23. # the Free Software Foundation; either version 2, or (at your option)
  24. # any later version.
  25. #
  26. # This program is distributed in the hope that it will be useful,
  27. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  28. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  29. # GNU General Public License for more details.
  30. #
  31. # You should have received a copy of the GNU General Public License
  32. # along with this program; see the file COPYING.  If not, write to
  33. # the Free Software Foundation, 59 Temple Place - Suite 330,
  34. # Boston, MA 02111-1307, USA.
  35. #
  36.  
  37.  
  38. SHELL = /bin/sh
  39.  
  40. srcdir = @srcdir@
  41. top_srcdir = @top_srcdir@
  42. VPATH = @srcdir@
  43. prefix = @prefix@
  44. exec_prefix = @exec_prefix@
  45.  
  46. bindir = @bindir@
  47. sbindir = @sbindir@
  48. libexecdir = @libexecdir@
  49. datadir = @datadir@
  50. sysconfdir = @sysconfdir@
  51. sharedstatedir = @sharedstatedir@
  52. localstatedir = @localstatedir@
  53. libdir = @libdir@
  54. infodir = @infodir@
  55. mandir = @mandir@
  56. includedir = @includedir@
  57. oldincludedir = /usr/include
  58.  
  59. pkgdatadir = $(datadir)/@PACKAGE@
  60. pkglibdir = $(libdir)/@PACKAGE@
  61. pkgincludedir = $(includedir)/@PACKAGE@
  62.  
  63. top_builddir = ..
  64.  
  65. INSTALL = @INSTALL@
  66. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  67. INSTALL_DATA = @INSTALL_DATA@
  68. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  69. transform = @program_transform_name@
  70.  
  71. AUTOMAKE_OPTIONS = no-dependencies ansi2knr
  72.  
  73. bin_PROGRAMS = enscript mkafmmap
  74. enscript_SOURCES = main.c psgen.c util.c xalloc.c prt_lpr.c
  75. mkafmmap_SOURCES = mkafmmap.c
  76.  
  77. LDADD = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a -lm
  78.  
  79. noinst_HEADERS = gsint.h
  80.  
  81. localedir = $(prefix)/@DATADIRNAME@/locale
  82.  
  83. DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
  84. INCLUDES = -I. -I$(srcdir) -I.. -I$(srcdir)/../compat -I$(srcdir)/../afmlib -I$(srcdir)/../intl -I../intl
  85.  
  86. EXTRA_DIST = testcase.sh ansi2knr.c ansi2knr.1 prt_dos.c
  87. mkinstalldirs = $(top_srcdir)/mkinstalldirs
  88. CONFIG_HEADER = ../config.h
  89. PROGRAMS = $(bin_PROGRAMS)
  90.  
  91.  
  92. CC = @CC@
  93. LEX = @LEX@
  94. YACC = @YACC@
  95. CPPFLAGS = @CPPFLAGS@
  96. CFLAGS = @CFLAGS@
  97. LDFLAGS = @LDFLAGS@
  98. LIBS = @LIBS@
  99.  
  100. COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  101. LINK = $(CC) $(LDFLAGS) -o $@
  102.  
  103. ANSI2KNR = @ANSI2KNR@
  104. o = .@U@o
  105. enscript_OBJECTS = main$o psgen$o util$o xalloc$o prt_lpr$o
  106. EXTRA_enscript_SOURCES =
  107. enscript_LDADD = $(LDADD)
  108. mkafmmap_OBJECTS = mkafmmap$o
  109. EXTRA_mkafmmap_SOURCES =
  110. mkafmmap_LDADD = $(LDADD)
  111. HEADERS = $(noinst_HEADERS)
  112.  
  113. DIST_COMMON = ChangeLog Makefile.am Makefile.in
  114.  
  115.  
  116. PACKAGE = @PACKAGE@
  117. VERSION = @VERSION@
  118.  
  119. DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
  120.     $(TEXINFOS) $(INFOS) $(MANS) $(EXTRA_DIST) $(DATA)
  121. DEP_DISTFILES = $(DIST_COMMON) $(SOURCES) $(BUILT_SOURCES) $(HEADERS) \
  122.     $(TEXINFOS) $(INFO_DEPS) $(MANS) $(EXTRA_DIST) $(DATA)
  123.  
  124. TAR = tar
  125. SOURCES = $(enscript_SOURCES) $(mkafmmap_SOURCES)
  126. OBJECTS = $(enscript_OBJECTS) $(mkafmmap_OBJECTS)
  127.  
  128. default: all
  129.  
  130.  
  131. $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
  132.     cd $(top_srcdir) && automake $(subdir)/Makefile
  133.  
  134. Makefile: $(top_builddir)/config.status Makefile.in
  135.     cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
  136.  
  137. mostlyclean-binPROGRAMS:
  138.  
  139. clean-binPROGRAMS:
  140.     rm -f $(bin_PROGRAMS)
  141.  
  142. distclean-binPROGRAMS:
  143.  
  144. maintainer-clean-binPROGRAMS:
  145.  
  146. install-binPROGRAMS: $(bin_PROGRAMS)
  147.     $(mkinstalldirs) $(bindir)
  148.     list="$(bin_PROGRAMS)"; for p in $$list; do \
  149.       if test -f $$p; then \
  150.         $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
  151.       else :; fi; \
  152.     done
  153.  
  154. uninstall-binPROGRAMS:
  155.     list="$(bin_PROGRAMS)"; for p in $$list; do \
  156.       rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
  157.     done
  158.  
  159. .c.o:
  160.     $(COMPILE) $<
  161.  
  162. mostlyclean-compile:
  163.     rm -f *.o core
  164.  
  165. clean-compile:
  166.  
  167. distclean-compile:
  168.     rm -f *.tab.c
  169.  
  170. maintainer-clean-compile:
  171.  
  172. .c._c:
  173.     $(ANSI2KNR) $< > $*.tmp && mv $*.tmp $@
  174.  
  175. ._c._o:
  176.     @echo $(COMPILE) $<
  177.     @rm -f _$*.c
  178.     @ln $< _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c
  179.  
  180. .c._o:
  181.     $(ANSI2KNR) $< > $*.tmp && mv $*.tmp $*._c
  182.     @echo $(COMPILE) $*._c
  183.     @rm -f _$*.c
  184.     @ln $*._c _$*.c && $(COMPILE) _$*.c && mv _$*.o $@ && rm _$*.c
  185.  
  186. ansi2knr: ansi2knr.o
  187.     $(LINK) ansi2knr.o $(LIBS)
  188.  
  189. $(OBJECTS): $(ANSI2KNR)
  190. ansi2knr.o: $(CONFIG_HEADER)
  191.  
  192. mostlyclean-kr:
  193.     rm -f *._o *._c _*.c _*.o
  194.  
  195. clean-kr:
  196.  
  197. distclean-kr:
  198.     rm -f ansi2knr
  199.  
  200. maintainer-clean-kr:
  201. $(enscript_OBJECTS): ../config.h
  202.  
  203. enscript: $(enscript_OBJECTS) $(enscript_DEPENDENCIES)
  204.     $(LINK) $(enscript_OBJECTS) $(enscript_LDADD) $(LIBS)
  205. $(mkafmmap_OBJECTS): ../config.h
  206.  
  207. mkafmmap: $(mkafmmap_OBJECTS) $(mkafmmap_DEPENDENCIES)
  208.     $(LINK) $(mkafmmap_OBJECTS) $(mkafmmap_LDADD) $(LIBS)
  209.  
  210. ID: $(HEADERS) $(SOURCES)
  211.     here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
  212.  
  213. tags: TAGS
  214.  
  215. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
  216.     here=`pwd` && cd $(srcdir) && etags $(ETAGS_ARGS) $(SOURCES) $(HEADERS) -o $$here/TAGS
  217.  
  218. mostlyclean-tags:
  219.  
  220. clean-tags:
  221.  
  222. distclean-tags:
  223.     rm -f TAGS ID
  224.  
  225. maintainer-clean-tags:
  226.  
  227. subdir = src
  228. distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
  229. distdir: $(DEP_DISTFILES)
  230.     @for file in `cd $(srcdir) && echo $(DISTFILES)`; do \
  231.       test -f $(distdir)/$$file \
  232.       || ln $(srcdir)/$$file $(distdir)/$$file 2> /dev/null \
  233.       || cp -p $(srcdir)/$$file $(distdir)/$$file; \
  234.     done
  235. info:
  236.  
  237. dvi:
  238.  
  239. check: all
  240.  
  241. installcheck:
  242.  
  243. install-exec: install-binPROGRAMS
  244.  
  245. install-data: 
  246.  
  247. install: install-exec install-data all
  248.     @:
  249.  
  250. uninstall: uninstall-binPROGRAMS
  251.  
  252. all: $(PROGRAMS) $(HEADERS) Makefile
  253.  
  254. install-strip:
  255.     $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
  256. installdirs:
  257.     $(mkinstalldirs)  $(bindir)
  258.  
  259.  
  260. mostlyclean-generic:
  261.     test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  262.  
  263. clean-generic:
  264.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  265.  
  266. distclean-generic:
  267.     rm -f Makefile $(DISTCLEANFILES)
  268.     rm -f config.cache config.log $(CONFIG_HEADER) stamp-h
  269.  
  270. maintainer-clean-generic:
  271.     test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
  272.     test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
  273. mostlyclean:  mostlyclean-binPROGRAMS mostlyclean-compile mostlyclean-kr \
  274.         mostlyclean-tags mostlyclean-generic
  275.  
  276. clean:  clean-binPROGRAMS clean-compile clean-kr clean-tags \
  277.         clean-generic mostlyclean 
  278.  
  279. distclean:  distclean-binPROGRAMS distclean-compile distclean-kr \
  280.         distclean-tags distclean-generic clean 
  281.     rm -f config.status
  282.  
  283. maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
  284.         maintainer-clean-kr maintainer-clean-tags \
  285.         maintainer-clean-generic distclean 
  286.     @echo "This command is intended for maintainers to use;"
  287.     @echo "it deletes files that may require special tools to rebuild."
  288.  
  289. .PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
  290. clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
  291. install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
  292. maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
  293. maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
  294. maintainer-clean-tags distdir info dvi check installcheck install-exec \
  295. install-data install uninstall all installdirs mostlyclean-generic \
  296. distclean-generic clean-generic maintainer-clean-generic clean \
  297. mostlyclean distclean maintainer-clean
  298.  
  299.  
  300. check: enscript
  301.     $(srcdir)/testcase.sh $(srcdir)
  302. .SUFFIXES:
  303. .SUFFIXES: .c .o ._c ._o
  304.  
  305. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  306. # Otherwise a system limit (for SysV at least) may be exceeded.
  307. .NOEXPORT:
  308.